package com.letoken.platform.repo.admin.res.user;

import com.letoken.platform.repo.admin.res.system.QueryAdminMenuTreeRes;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: Shirley
 * @Date: 2022/1/6 16:16
 */
@Data
public class AdminUserRes {
    @ApiModelProperty(name = "token", value = "token")
    private String token;


    @ApiModelProperty(name = "name", value = "姓名")
    private String name;

    @ApiModelProperty(name = "username", value = "用户名")
    private String username;

    @ApiModelProperty(name = "userId", value = "用户id")
    private Integer userId;

    @ApiModelProperty(name = "access", value = "角色")
    private String access;


    @ApiModelProperty(name = "tree", value = "用户菜单树")
    private List<QueryAdminMenuTreeRes> tree;
}
